// +----------------------------------------------------------------------
// | JavaWeb_EleVue_Pro前后端分离旗舰版框架 [ JavaWeb ]
// +----------------------------------------------------------------------
// | 版权所有 2021 上海JavaWeb研发中心
// +----------------------------------------------------------------------
// | 官方网站: http://www.javaweb.vip/
// +----------------------------------------------------------------------
// | 作者: 鲲鹏 <javaweb520@gmail.com>
// +----------------------------------------------------------------------
// | 免责声明:
// | 本软件框架禁止任何单位和个人用于任何违法、侵害他人合法利益等恶意的行为，禁止用于任何违
// | 反我国法律法规的一切平台研发，任何单位和个人使用本软件框架用于产品研发而产生的任何意外
// | 、疏忽、合约毁坏、诽谤、版权或知识产权侵犯及其造成的损失 (包括但不限于直接、间接、附带
// | 或衍生的损失等)，本团队不承担任何法律责任。本软件框架只能用于公司和个人内部的法律所允
// | 许的合法合规的软件产品研发，详细声明内容请阅读《框架免责声明》附件；
// +----------------------------------------------------------------------

package ${packageName}.vo.${entityName?lower_case};

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * ${tableAnnotation}列表Vo
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
@Data
public class ${entityName}ListVo {

    /**
    * ${tableAnnotation}ID
    */
    private Integer id;

<#if model_column?exists>
    <#list model_column as model>
    /**
     * ${model.columnComment!}
     */
    <#if (model.columnType?upper_case = 'VARCHAR' || model.columnType?upper_case = 'CHAR' || model.columnType?upper_case = 'TEXT' || model.columnType?upper_case = 'MEDIUMTEXT')>
    private String ${model.changeColumnName?uncap_first};

    </#if>
    <#if (model.columnType?upper_case = 'DATETIME' || model.columnType?upper_case = 'DATE' || model.columnType?upper_case = 'TIME' || model.columnType?upper_case = 'YEAR' || model.columnType?upper_case = 'TIMESTAMP') >
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ${model.changeColumnName?uncap_first};

    </#if>
    <#if (model.columnType?upper_case = 'TINYINT UNSIGNED' || model.columnType?upper_case = 'TINYINT')>
    private Integer ${model.changeColumnName?uncap_first};

    </#if>
    <#if model.hasColumnCommentValue = true>

    /**
    * ${model.columnCommentName}描述
    */
    private String ${model.changeColumnName?uncap_first}Name;

    </#if>
    <#if (model.columnType?upper_case = 'SMALLINT UNSIGNED' || model.columnType?upper_case = 'SMALLINT' || model.columnType?upper_case = 'MEDIUMINT UNSIGNED' || model.columnType?upper_case = 'MEDIUMINT')>
    private Integer ${model.changeColumnName?uncap_first};

    </#if>
    <#if (model.columnType?upper_case = 'INT UNSIGNED' || model.columnType?upper_case = 'INT')>
    private Integer ${model.changeColumnName?uncap_first};

    </#if>
    <#if (model.columnType?upper_case = 'BIGINT UNSIGNED' || model.columnType?upper_case = 'BIGINT')>
    private Integer ${model.changeColumnName?uncap_first};

    </#if>
    <#if (model.columnType?upper_case = 'NUMERIC' || model.columnType?upper_case = 'DECIMAL')>
    private BigDecimal ${model.changeColumnName?uncap_first};

    </#if>
    <#if (model.columnType?upper_case = 'FLOAT UNSIGNED' || model.columnType?upper_case = 'FLOAT')>
    private Float ${model.changeColumnName?uncap_first};

    </#if>
    <#if (model.columnType?upper_case = 'DOUBLE UNSIGNED' || model.columnType?upper_case = 'DOUBLE')>
    private Double ${model.changeColumnName?uncap_first};

    </#if>
    <#if model.columnType?upper_case = 'BLOB'>
    private byte[] ${model.changeColumnName?uncap_first};

    </#if>
    </#list>
</#if>
}